SerialStatelessSignalAsync class¶
Defined in
Namespace: ReactiveUI.Primitives.Async.Signals
Assembly: ReactiveUI.Primitives.Async.Core.dll
Full name: ReactiveUI.Primitives.Async.Signals.SerialStatelessSignalAsync<T>
Modifiers: public sealed
Summary¶
Represents a stateless asynchronous Signal that notifies observers of events in a serial, sequential manner.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471
Class hierarchy
classDiagram
class SerialStatelessSignalAsync~T~
class ISignalAsync~T~ {
<>
}
ISignalAsync~T~ <|.. SerialStatelessSignalAsync~T~
class IObserverAsync~T~ {
<>
}
IObserverAsync~T~ <|.. SerialStatelessSignalAsync~T~
class IAsyncDisposable {
<>
}
IAsyncDisposable <|.. SerialStatelessSignalAsync~T~
class IObservableAsync~T~ {
<>
}
IObservableAsync~T~ <|.. SerialStatelessSignalAsync~T~
Implements: ISignalAsync
Remarks¶
Observers are notified one at a time in the order they are registered. Each observer receives the event only after the previous observer has completed processing. This class is suitable for scenarios where event delivery order and sequential processing are required. Thread safety and ordering are managed internally.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| OnNextAsync | Asynchronously processes the next value in the sequence. |
| OnErrorResumeAsync | Handles the specified error and resumes asynchronous processing, if possible. |
| OnCompletedAsync | Performs asynchronous completion logic in response to the specified result. |
| DisposeAsync | |
| SubscribeAsync | Subscribes the specified asynchronous observer to receive notifications from the observable sequence. |